<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>POST接口测试</title>
		<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script>
	</head>
	<body>
	</body>
	<script>
		function postGET(){
			$.ajax({
			  type: 'POST',
			  url: 'http://192.168.69.44:7001/httpclient/post',
			  dataType: 'json',	
			  error: function(XmlHttpRequest, textStatus, errorThrown) {
			      alert("操作失败!");
			  },
			  success: function(result) {
			      console.log(result) //console变量在ie低版本下不能用
			      alert(result.showapi_res_code)
			  }
			});
		}
		postGET()
	</script>
</html>
